// SweetAlert2


html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown),
body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
    overflow-y: initial !important;

    &:not(.e-sweetalert2--nopadding) {
        padding-right: 0 !important;
    }

    @include e-hack-ie {
        overflow: visible;
    }
}

.swal2-popup {
    @include e-rounded {
        border-radius: $e-border-radius;
    }
    padding: 3rem;

    .swal2-title {
        font-weight: 500;
        font-size: 1.2rem;
        margin: 0 0 1rem;
    }

    .swal2-content {
        font-weight: normal;
        font-size: 1rem;
    }

    .btn {
        margin: 15px 5px 0;
    }

    .swal2-styled {
        &:focus {
            box-shadow: none;
        }
    }
}

.swal2-container {
    overflow-y: hidden !important;
}

body.swal2-height-auto {
    height: 100% !important;
}

.swal2-container.swal2-shown {
    background-color: rgba(0, 0, 0, .2);
}

.swal2-popup {
    .swal2-title {
        color: e-base-color(label, 4);
    }

    .swal2-content {
        color: e-base-color(label, 2);
    }
}